<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no" />
		<title>我的报告</title>

		<link rel="stylesheet" href="/base-online/Public/assets/css/css.css" />
		<script src="/base-online/Public/assets/js/jquery-2.0.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
	var heigt=document.documentElement.clientHeight;
	var widte=document.documentElement.clientWidth;
	var name="<?php echo ($list["name"]); ?>";
		$(document).ready(function(e) {
 			$('.top').css({"height":heigt/2.5,"width":widte});
 			$('body').css({"height":heigt,"width":widte});
 			$('#pointer').css({"height":heigt,"width":widte});
 			$('.ts').css({"top":heigt/3,"width":widte});
 			$('.my').click(function(){
 								
 				location.href="<?php echo U('Index/userlist');?>?id=<?php echo ($list["id"]); ?>";
 				
 			});
 			$('.my1').click(function(){
 				if(name==""){					
 				$('#pointer').show();
 				}else{
 				location.href="<?php echo U('Index/useracticle');?>?id=<?php echo ($list["id"]); ?>";
 				}
 			});
 			$('.gb').click(function(){
 							
 				$('#pointer').hide();
 				
 			});
 			
		});		
</script>
<style>
	.mian a span{ background: url(/base-online/Public/assets/images/jt.png) no-repeat 20px; background-size:20%;}
	
</style>
	</head>

	<body>
		<div class="top">
			<div class="img"><img src="<?php echo ($list["headimgurl"]); ?>"  /></div>
			<div class="name"><?php echo ($list["nickname"]); ?></div>	
		</div>
		<div class="mian">
			<a href="Javascript:void(0)"  class="my" >我的资料
				<?php if($list["name"] == ''): ?><span style="color: red; background: none;">待完善</span><?php endif; ?>
				<?php if($list["name"] != ''): ?><span >&nbsp;</span><?php endif; ?></a>
			<a href="Javascript:void(0)" class="my1">我的报告<span>&nbsp;</span></a>		
		</ul>		
		</div>
<div id="pointer"  >
		<div class="ts">
			<div class="tsk">
			<h2>提示</h2>
			<p>请立即完善资料</p>
			<a href="Javascript:void(0)"  class="my"  style=" background: #333333;" >立即完善</a><a href="Javascript:void(0)" class="gb" style="background: #666666;">取消</a>
			</div>
		</div>
		
	
</div>
	</body>
</html>